# Maintainer: Donoban <donoban@riseup.net>
pkgname=nyx
pkgver=2.1.0
pkgrel=1
pkgdesc="Terminal status monitor for Tor"
url="https://nyx.torproject.org/"
arch="noarch"
license="LGPL-3.0-or-later"
depends="py3-stem"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/n/nyx/nyx-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
69a645cc811a1b1fbd9cf0501d8f23f1a52e0e92a0598097bb0c9efb040e1895e1dd431bad93be36db0e85ca7ac32ee5c866d50d2812069a39e5160b44575a37  nyx-2.1.0.tar.gz
"
